<?php
//session判断
require_once("header.php");
if(!isset($_GET['uid']) || !isset($_GET['uname']))
{
	echo '异常操作，请先登录';
	header("Refresh:1;url=../login.html");
	exit;
}
?>
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-4">
    
<form action="docpass.php" method="post">
	<h4>修改密码</h4>
	<input name="uid" value="<?php echo $_GET['uid'];?>" type="hidden"/>
	<div><input name="uname" value="<?php echo $_GET['uname'];?>" type="text" readonly//></div>
	<div><input name="cpass" type="text"/></div>
	<div><input value="修改" type="submit"/></div>
</form>
</main>
<?php
require_once("footer.php");
?>